<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page" %>
<%@taglib prefix="sp" uri="http://www.springframework.org/tags" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>${requestScope.data.systemsetting.name}-<decorator:title></decorator:title></title>
    <meta name="author" content="${requestScope.data.systemsetting.metaAuthor}"/>
    <meta name="copyright" content="${requestScope.data.systemsetting.metaCopyright}"/>
    <meta name="keywords" content="${requestScope.data.systemsetting.metaKeywords}"/>
    <meta name="description" content="${requestScope.data.systemsetting.metaDescription}"/>
    <link rel="icon" href="${requestScope.data.systemsetting.favicon}" type="image/x-icon"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    <!-- basic styles -->

    <link href="${pageContext.request.contextPath}/assets/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/font-awesome.min.css"/>

    <!--[if IE 7]>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/font-awesome-ie7.min.css"/>
    <![endif]-->

    <!-- page specific plugin styles -->

    <!-- fonts -->

    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/css.css"/>

    <!-- ace styles -->

    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace.min.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace-rtl.min.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace-skins.min.css"/>

    <!--[if lte IE 8]>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace-ie.min.css"/>
    <![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->

    <script src="${pageContext.request.contextPath}/assets/js/ace-extra.min.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

    <!--[if lt IE 9]>
    <script src="${pageContext.request.contextPath}/assets/js/html5shiv.js"></script>
    <script src="${pageContext.request.contextPath}/assets/js/respond.min.js"></script>
    <![endif]-->

    <!-- basic scripts -->

    <!--[if !IE]> -->

    <script src="${pageContext.request.contextPath}/assets/js/jquery.min2.0.3.js"></script>

    <!-- <![endif]-->

    <!--[if IE]>
    <script src="${pageContext.request.contextPath}/assets/js/jquery.min.1.10.2.js"></script>
    <![endif]-->
    <script src="${pageContext.request.contextPath}/assets/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/assets/js/typeahead-bs2.min.js"></script>

    <!-- page specific plugin scripts -->

    <!-- ace scripts -->

    <script src="${pageContext.request.contextPath}/assets/js/ace-elements.min.js"></script>
    <script src="${pageContext.request.contextPath}/assets/js/ace.min.js"></script>
    <!--validform-->
    <script src="${pageContext.request.contextPath}/assets/plugins/validform/js/Validform_v5.3.2_min.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/plugins/validform/css/style.css"/>

    <!--toastmessage-->
    <script src="${pageContext.request.contextPath}/assets/plugins/toastmessage/javascript/jquery.toastmessage.js"></script>
    <link rel="stylesheet"
          href="${pageContext.request.contextPath}/assets/plugins/toastmessage/resources/css/jquery.toastmessage.css"/>
    <!--base-->
    <script src="${pageContext.request.contextPath}/assets/js/base.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/base.css"/>
</head>

<body>
<div class="navbar navbar-default" id="navbar">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="navbar-container" id="navbar-container">
        <div class="navbar-header pull-left">
            <a href="${pageContext.request.contextPath}" class="navbar-brand">
                <small>
                    <i class="icon-leaf"></i>
                    ${requestScope.data.systemsetting.name}
                </small>
            </a><!-- /.brand -->
        </div>
        <!-- /.navbar-header -->
        <div class="navbar-header pull-right">
            <ul class="nav ace-nav">
                <li class="green">
                    <a class="dropdown-toggle" href="${pageContext.request.contextPath}/admin/login.html">
                        <i class="icon-user icon-animated-vertical"></i>
                    </a>

                </li>
            </ul>
            <!-- /.ace-nav -->
        </div>
        <!-- /.navbar-header -->
    </div>
    <!-- /.container -->
</div>

<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="main-container-inner">

        <div class="main-content" style="margin: 0;">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <decorator:body></decorator:body>
                        <!-- PAGE CONTENT ENDS -->
                    </div>
                    <!-- /.col -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.page-content -->
        </div>
        <!-- /.main-content -->
    </div>
    <!-- /#ace-settings-container -->
</div>
<!-- /.main-container-inner -->
</div><!-- /.main-container -->


</body>
</html>
